package org.example.mq;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 日志对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//mq发送消息必须实现Serializable接口 序列化
public class OperationLogEvent implements Serializable {
    private BigInteger userId;
    private String action;
    private String ip;
    private String detail;
    private String messageId;//用于幂等校验


}
